package com.icyrain11.training.exception;

/**
 * @author icyrain11
 * @version 1.8
 */
public class BusinessException extends RuntimeException {

    private final int code;

    public BusinessException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

}
